package com.shmilyou.dissertationmanagement.utils;
/* Created with 岂止是一丝涟漪     530060499@qq.com    2018/11/23 */

import java.net.URISyntaxException;

public final class Constant {

    static{
        String path="";
        try{
            path=Constant.class.getResource("/").toURI().getPath();
        }catch(URISyntaxException e){
            path=Constant.class.getResource("/").getPath();
        }
        classPath=path;
    }

    private static final String classPath;

    public static final String LOGIN_USER = "login_user";

    public static final String THESIS_ATTACHMENTS_PATH=classPath+"attachments/theses/";

    public static final String PATENT_ATTACHMENTS_PATH=classPath+"attachments/patents/";

    public static final String SOFTWARECOPYRIGHT_ATTACHMENTS_PATH=classPath+"attachments/softwareCopyrights/";
}
